﻿<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="/common/taglibs.jsp" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>消息中心</title>

    <!--common-->
    <link href="/resources/src/css/main.css" rel="stylesheet">
    <link href="/resources/src/css/responsive.css" rel="stylesheet">
    <link href="/resources/src/css/message.css" rel="stylesheet">
</head>
<body class="sticky-header left-side-collapsed" style="background-color: #f5f8f9;">
    
    <jsp:include page="../common/left-slide.jsp" flush="true">
        <jsp:param name="pageHeader" value="messageHeader" />
    </jsp:include>
    <div class="main-content">
        <jsp:include page="../common/header-start.jsp" />
        <div class="message">
            <div class="mcBar">
                <div class="mcBar_title"><b>消息中心</b></div>
                <div class="mcBar_list">
                    <c:if test="${user.type==1 }">
	                    <a href="/message/addMessage" class="active">新建消息</a>
	                    <a href="/message/sendList">发出的消息</a>
                	</c:if>
                    <a href="/message/receiveList">收到的消息 <span class="newReceive"><c:if test="${MESSAGE_COUNT>0 }">(${MESSAGE_COUNT })</c:if></span></a>
                    <a href="/message/dustbinList">垃圾箱</a>
                </div>
            </div>
            <div class="mcFun">
                <div class="mcFun_title"><b>新建消息</b></div>
                <div class="mcCompose">
                    <div class="inputLine clearfix">
                        <div class="labelTo"><span>*</span>接收者：</div>
                        <div class="contentFor addLine">
                            <div class="checkPerson">
                            </div>
                            <div class="addPerson"><i class="iconfont icon-icon-xinjian"></i> 添加</div>
                            <input type="hidden" id="sendId" value=""/>
                            <div class="memberList">
                                <ul>
                                  <li class="tag" data-tag='{"id":"0","name":"城西"}' onclick="choose(this)">城西</li>
                                    <li class="tag" data-tag='{"id":"1","name":"城西1"}' onclick="choose(this)">城西1</li>
                                    <li class="tag" data-tag='{"id":"2","name":"城西2"}' onclick="choose(this)">城西2</li>
                                    <li class="tag" data-tag='{"id":"3","name":"城西3"}' onclick="choose(this)">城西3</li>
                                    <li class="tag" data-tag='{"id":"4","name":"城西4"}' onclick="choose(this)">城西4</li>
                                    <li class="tag" data-tag='{"id":"5","name":"城西5"}' onclick="choose(this)">城西5</li>
                                    <li class="tag" data-tag='{"id":"6","name":"城西6"}' onclick="choose(this)">城西6</li>                            
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="inputLine clearfix">
                        <div class="labelTo"><span>*</span>标题：</div>
                        <div class="contentFor">
                            <input type="text" id="title" placeholder="请输入">
                        </div>
                    </div>
                    <div class="inputLine clearfix">
                        <div class="labelTo"><span>*</span>内容：</div>
                        <div class="contentFor">
                            <textarea placeholder="请输入" rows="10" id="content"></textarea>
                        </div>
                    </div>
                    <div class="sendRpw">
                        <button class="sendMC">发送</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="/resources/src/js/jquery-1.9.1.min.js"></script>
    <script src="/resources/src/js/jquery.nicescroll.js"></script>
    <script src="/resources/src/js/main.js"></script>    
    <script src="/resources/src/js/message.js"></script>    
</body>
</html>